package cn.zc.curriculum.service.mapper;


import cn.zc.curriculum.entity.Dto.QuestionBankDto;
import cn.zc.curriculum.entity.QuestionBank;
import cn.zc.curriculum.entity.VO.QuestionBankVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * <p>
 * 题库 Mapper 接口
 * </p>
 *
 * @author keno
 * @since 2022-02-14
 */
public interface QuestionBankMapper extends BaseMapper<QuestionBank> {

    List<QuestionBankDto> findQuestionBank(Page<Object> initPage, QuestionBankVO questionBankVO);

    List<QuestionBankDto> findQuestionBankByMenu(Page<Object> initPage, String menuId);
}
